
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont">&#xf0191;</i>
                    <div class="name">我的资产</div>
                    <div class="code">&amp;#xf0191;</div>
                    <div class="fontclass">.wodezichan</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0124;</i>
                    <div class="name">三角3</div>
                    <div class="code">&amp;#xf0124;</div>
                    <div class="fontclass">.sanjiao3</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf00ae;</i>
                    <div class="name">购买</div>
                    <div class="code">&amp;#xf00ae;</div>
                    <div class="fontclass">.goumai</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf00f9;</i>
                    <div class="name">时间</div>
                    <div class="code">&amp;#xf00f9;</div>
                    <div class="fontclass">.shijian</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf003f;</i>
                    <div class="name">天猫超市-购物车</div>
                    <div class="code">&amp;#xf003f;</div>
                    <div class="fontclass">.tianmaochaoshigouwuche</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0006;</i>
                    <div class="name">我</div>
                    <div class="code">&amp;#xf0006;</div>
                    <div class="fontclass">.wo</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3475;</i>
                    <div class="name">购物车</div>
                    <div class="code">&amp;#x3475;</div>
                    <div class="fontclass">.gouwuche</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0054;</i>
                    <div class="name">未关注</div>
                    <div class="code">&amp;#xf0054;</div>
                    <div class="fontclass">.weiguanzhu</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf010a;</i>
                    <div class="name">二维码</div>
                    <div class="code">&amp;#xf010a;</div>
                    <div class="fontclass">.erweima</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe609;</i>
                    <div class="name">反馈</div>
                    <div class="code">&amp;#xe609;</div>
                    <div class="fontclass">.fankui</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe6f7;</i>
                    <div class="name">top</div>
                    <div class="code">&amp;#xe6f7;</div>
                    <div class="fontclass">.top</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe626;</i>
                    <div class="name">贝竹充值</div>
                    <div class="code">&amp;#xe626;</div>
                    <div class="fontclass">.chongzhi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe650;</i>
                    <div class="name">五角星</div>
                    <div class="code">&amp;#xe650;</div>
                    <div class="fontclass">.wujiaoxing</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xe63a;</i>
                    <div class="name">五角星</div>
                    <div class="code">&amp;#xe63a;</div>
                    <div class="fontclass">.wujiaoxing1</div>
                </li>
            
        </ul>


        <div class="helps">
            第一步：使用font-face声明字体
            <pre>
@font-face {font-family: 'iconfont';
    src: url('iconfont.eot'); /* IE9*/
    src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('iconfont.woff') format('woff'), /* chrome、firefox */
    url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}
</pre>
第二步：定义使用iconfont的样式
            <pre>
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
</pre>
第三步：挑选相应图标并获取字体编码，应用于页面
<pre>
&lt;i class="iconfont"&gt;&amp;#x33;&lt;/i&gt;
</pre>
        </div>

    </div>
</body>
</html>
